package com.custom.dao;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @author wh
 * @Description
 * @date 2018/4/4 17:18
 */
public class PreMapper implements RowMapper<String> {
    public String mapRow(ResultSet resultSet, int i) throws SQLException {
        return resultSet.getString("table_name");
    }
}
